<form class="daoyxx-wrap"> 
    <h2 class="title">个人头像</h2>

    <div class="upload">
        <div class="img-wrap">
            <img      <{if $user.userIcon=='' and $user.userGender=='m'}>
                      src="/upload/upload/images/nousericon-m.png"
                      <{elseif $user.userIcon=='' and $user.userGender == 'f'}>
                      src="/upload/upload/images/nousericon-f.png"
                      <{elseif $user.userIcon=='' and $user.userGender==''}>
                      src="/resource/www/imgs/default_tx.png"
                      <{else}>src="<{$user.userIcon}>"
                       <{/if}> 

 id="imgId" class="img">
        </div>
        <div class="content">
            <p class="text">清楚的脸部正面照对导游和游客了解彼此起着重大作用，请上传一张能清楚看到您脸部的照片。</p>
        <div class="img-right">
    <img src="/upload/upload/images/guide_info_upload_right.png">
  </div>
  <div class="img-wrong">
   <img src="/upload/upload/images/guide_info_upload_wrong.png">
</div>    

        </div>
    </div>

    <input type="hidden" name="uid" value="<{$uid}>">

    <h2 class="title">个人信息</h2>

    <ul class="daoyxx">

        <li class="stableli fix">
            <span class="left">姓氏</span>
           <span class="stabletext"><{$user.userFamily}></span>
            <span class="right">名字</span>
           <span class="stabletext"><{$user.userName}></span>
        </li>

        <li class="stableli fix">
            <span class="left">性别</span>
            <span class="stabletext">
            <{if $user.userGender == 'm'}>男
            <{elseif $user.userGender == 'f'}>女
            <{else}>待补充
            <{/if}>
            </span>
            <span class="right">年龄</span>
        <span class="stabletext">
            <{if $user.userAge == ''}>
            待补充
            <{else}>
            <{$user.userAge}>
            <{/if}>
            </span>
         </li>

        <li class="stableli fix">
            <span class="left">国籍</span>
            <div>
           <span class="stabletext">
            <{if $user.nationality == ''}>
            待补充
            <{else}>
            <{$user.nationality}>
            <{/if}>
            </span>
            
            </div>
            <span class="right">语言<!--<br>(多选)--></span>
            <{foreach from=$user.language item="lang"}>           
            <{if $lang == '1'}>
<label class="stablechoose"><span>普通话</span></label>
            <{elseif $lang == '2'}>
<label class="stablechoose"><span>法语</span></label>
            <{elseif $lang == '3'}>
<label class="stablechoose"><span>英语</span></label>
            <{else}>
<label class="stablechoose"><span>待补充</span></label>
            <{/if}>
            <{/foreach}>

        </li>

        <li class="stableli fix">
            <span class="left">自我介绍</span>
           <p class="stabletextarea">
            <{if $user.introduction == ''}>
            待补充
            <{else}>
            <{$user.introduction}>
            <{/if}>
            </p>
        </li>

        <li class="stableli fix">
            <span class="left">居住城市</span>
           <span class="stabletext">
            <{if $user.resideCity == ''}>
            待补充
            <{else}>
            <{$user.resideCity}>
            <{/if}>
            </span>
            <span class="shijian">居住时间</span>
            <span class="stabletext">
            <{if $user.resideTime == ''}>待补充<{/if}>
            <{if $user.resideTime == 1}>1年<{/if}>
            <{if $user.resideTime == 2}>2年<{/if}>
            <{if $user.resideTime == 3}>3年<{/if}>
            <{if $user.resideTime == 4}>4年<{/if}>
            <{if $user.resideTime == 5}>5年以上<{/if}>
            </span>
        </li>
        
        <!--<li class="stableli fix">
            <span class="left">联系电话</span>
             <span class="stabletext">
            <{if $user.userPhone == ''}>
            待补充
            <{else}>
            <{$user.userPhone}>
            <{/if}>
            </span>
        </li>-->

        <li class="stableli fix">
            <span class="left">详细地址</span>
            <span class="stabletext">
            <{if $user.addr == ''}>
            待补充
            <{else}>
            <{$user.addr}>
            <{/if}>
            </span>
        </li>

        <li class="stableli fix">
            <span class="left">城市</span>
            <span class="stabletext">
            <{if $user.rcity == ''}>
            待补充
            <{else}>
            <{$user.rcity}>
            <{/if}>
            </span>
        </li>

        <li class="stableli fix">
            <span class="left">邮编</span>
            <span class="stabletext">
            <{if $user.code == ''}>
            待补充
            <{else}>
            <{$user.code}>
            <{/if}>
            </span>
        </li>

        <li class="stableli fix">
            <span class="left">国家</span>
            <span class="stabletext">
            <{if $user.country == ''}>
            待补充
            <{else}>
            <{$user.country}>
            <{/if}>
            </span>
        </li>

    </ul>

    <p class="prompt">此信息仅用于推送导游奖励和与哇吖有关的材料，为了便于与您的交流，哇吖强烈建议您填写</p>

       <a href="/guider/update_guider_info/<{$user.uid}>" style="color:#fff;"><div class="submit" style="cursor:pointer;">编辑</div></a>

</form>
<script type="text/javascript">    
$(".info").addClass("active");
</script>
